class Person:
    """r人类"""
    def __init__(self,name,weight):
        self.name = name
        self.weight = weight
    def __str__(self):
        return "我的名男子叫%s体重%.2f公斤"%(self.name,self.weight)
    def run(self):
        print("%s爱跑步"%self.name)
        self.weight -= 0.5
    def eat(self):
        print("%s爱吃橘子"%self.name)
        self.weight += 1

xiaoming = Person("xiaomg",34)
xiaoming.run()
xiaoming.eat()
print(xiaoming)
print("*&"*830)

xiaomei = Person("xiaomei",56)
xiaomei.run()
xiaomei.eat()
print(xiaomei)